package com.fuhe.studydemo;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import androidx.annotation.Nullable;

public class MainActivity extends Activity {


    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

    }


    public void toOffsetDemo(View view){
        startActivity(new Intent(this,OffsetActivity.class));
    }

    public void toDrawDemo(View view){
        startActivity(new Intent(this,DrawActivity.class));
    }

    public void toCountDemo(View view){
        startActivity(new Intent(this,CountActivity.class));
    }

    public void toRefreshDemo(View view){
        startActivity(new Intent(this,RefreshActivity.class));
    }
}
